package com.familytree.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("relationships")
public class Relationship {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long memberId;
    private Long relatedMemberId;
    private String relationshipType;
    private Date marriageDate;
    private Date createDate;
    private Date updateDate;
} 